package com.jxb.lession78.services;

import com.github.pagehelper.PageInfo;
import com.jxb.lession78.entity.Emp;

import java.util.List;
import java.util.Map;

public interface EmpServices {
    Emp getEmpByEmpname(String username);

    List<Emp> getAllEmp();

    PageInfo<Emp> getEmpByMap(Map<String, String> map, int pageNum);

    boolean addEmp(Emp emp);

    Emp getEmpByEno(int eno);

    boolean deleteEmp(int eno);

    boolean updateEmp(Emp emp);
}
